package com.haoze.nurseapp.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurseapp.model.EmrTemplateEntity;
import org.apache.ibatis.annotations.Param;

import javax.persistence.Table;
import java.util.List;
import java.util.Map;

@Table(
        name = "EMR.EMR_TEMPLATE"
)
public interface EmrTemplateMapper extends MyMapper<EmrTemplateEntity> {

    String getSysElementIdByVarCode(@Param("varCode") String varCode);

    /**
     *
     * @param tplId
     * @return
     */
    List<Map<String, Object>> getEmrFileData(@Param("tplId") String tplId);
}
